package entity;

import java.io.Serializable;

/**
 * 检查项目表(Checkitem)实体类
 *
 * @author makejava
 * @since 2025-03-14 12:19:31
 */
public class CheckItem implements Serializable {
    private static final long serialVersionUID = -56391058440788593L;
    /**
     * 检查项目编号
     */
    private Integer checkItemId;
    /**
     * 检查项目名称
     */
    private String checkItemName;
    /**
     * 检查项目价格
     */
    private double checkItemCost;

    public CheckItem() {
    }

    public CheckItem(String checkItemName, double checkItemCost) {
        this.checkItemName = checkItemName;
        this.checkItemCost = checkItemCost;
    }

    public CheckItem(Integer checkItemId, String checkItemName, double checkItemCost) {
        this.checkItemId = checkItemId;
        this.checkItemName = checkItemName;
        this.checkItemCost = checkItemCost;
    }

    public Integer getCheckItemId() {
        return checkItemId;
    }

    public void setCheckItemId(Integer checkItemId) {
        this.checkItemId = checkItemId;
    }

    public String getCheckItemName() {
        return checkItemName;
    }

    public void setCheckItemName(String checkItemName) {
        this.checkItemName = checkItemName;
    }

    public double getCheckItemCost() {
        return checkItemCost;
    }

    public void setCheckItemCost(double checkItemCost) {
        this.checkItemCost = checkItemCost;
    }

    @Override
    public String toString() {
        return "CheckItem{" +
                "checkItemId=" + checkItemId +
                ", checkItemName='" + checkItemName + '\'' +
                ", checkItemCost=" + checkItemCost +
                '}';
    }
}

